package cn.tsinghua.comsmacitccntsinghua.estar;

import cn.tsinghua.comsmacitccntsinghua.entity.Res;
import okhttp3.Response;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import rx.Observable;

/**
 * @Author yjl
 * @create 2021/10/15 9:18
 */
public interface Http {
    String PREFIX = "http://";
//    String URL = "192.168.2.101";
    String URL = "47.98.99.133";
    String BASE_URL = PREFIX + URL + ":8181";

    @GET("android/getHotfixFile")
    Observable<ResponseBody> gethotFixFile();

    @GET("android/getColdfixFile")
    Observable<ResponseBody> getcoldFixFile();

    @GET("info/getOrganizationInfo")
    Observable<ResponseBody> getOrganizationInfo();

    @GET("")
    Observable<ResponseBody> getPic();

}
